package com.study.gift.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.study.gift.domain.Tenant;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.study.gift.query.TenantQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xizhou
 * @since 2023-04-24
 */
public interface TenantMapper extends BaseMapper<Tenant> {

    List<Tenant> loadPageList(Page<Tenant> page, TenantQuery query);

    void saveTenantMeal(@Param("id") Long id,@Param("mealId")Long mealId);

}
